package com.xiaozhengkeji.colastartboot.base.entitys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * system_user
 */
@ApiModel(value = "system_user")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SystemUser implements Serializable {
    /**
     * 用户索引UID
     */
    @ApiModelProperty(value = "用户索引UID")
    private Integer uid;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String username;

    /**
     * 用户密码
     */
    @ApiModelProperty(value = "用户密码")
    private String password;

    /**
     * 用户角色
     */
    @ApiModelProperty(value = "用户角色")
    private String userRole;

    /**
     * 用户备注
     */
    @ApiModelProperty(value = "用户备注")
    private String remark;

    /**
     * 注册时间
     */
    @ApiModelProperty(value = "注册时间")
    private LocalDateTime creationTime;

    /**
     * 1=正常 -1=封禁 -2=冻结
     */
    @ApiModelProperty(value = "1=正常 -1=封禁 -2=冻结")
    private Integer userState;

    /**
     * 用户邮箱
     */
    @ApiModelProperty(value = "用户邮箱")
    private String email;

    /**
     * 微信openid
     */
    @ApiModelProperty(value = "微信openid")
    private String wxOpenid;

    private static final long serialVersionUID = 1L;
}